package com.alipay.api.request;

import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayZdatafrontCommonQueryResponse;
import java.util.Map;

public class AlipayZdatafrontCommonQueryRequest implements AlipayRequest {

   private AlipayHashMap udfParams;
   private String apiVersion = "1.0";
   private Long cacheInterval;
   private String queryConditions;
   private String serviceName;
   private String visitBiz;
   private String visitBizLine;
   private String visitDomain;
   private String terminalType;
   private String terminalInfo;
   private String prodCode;
   private String notifyUrl;


   public void setCacheInterval(Long cacheInterval) {
      this.cacheInterval = cacheInterval;
   }

   public Long getCacheInterval() {
      return this.cacheInterval;
   }

   public void setQueryConditions(String queryConditions) {
      this.queryConditions = queryConditions;
   }

   public String getQueryConditions() {
      return this.queryConditions;
   }

   public void setServiceName(String serviceName) {
      this.serviceName = serviceName;
   }

   public String getServiceName() {
      return this.serviceName;
   }

   public void setVisitBiz(String visitBiz) {
      this.visitBiz = visitBiz;
   }

   public String getVisitBiz() {
      return this.visitBiz;
   }

   public void setVisitBizLine(String visitBizLine) {
      this.visitBizLine = visitBizLine;
   }

   public String getVisitBizLine() {
      return this.visitBizLine;
   }

   public void setVisitDomain(String visitDomain) {
      this.visitDomain = visitDomain;
   }

   public String getVisitDomain() {
      return this.visitDomain;
   }

   public String getNotifyUrl() {
      return this.notifyUrl;
   }

   public void setNotifyUrl(String notifyUrl) {
      this.notifyUrl = notifyUrl;
   }

   public String getApiVersion() {
      return this.apiVersion;
   }

   public void setApiVersion(String apiVersion) {
      this.apiVersion = apiVersion;
   }

   public void setTerminalType(String terminalType) {
      this.terminalType = terminalType;
   }

   public String getTerminalType() {
      return this.terminalType;
   }

   public void setTerminalInfo(String terminalInfo) {
      this.terminalInfo = terminalInfo;
   }

   public String getTerminalInfo() {
      return this.terminalInfo;
   }

   public void setProdCode(String prodCode) {
      this.prodCode = prodCode;
   }

   public String getProdCode() {
      return this.prodCode;
   }

   public String getApiMethodName() {
      return "alipay.zdatafront.common.query";
   }

   public Map getTextParams() {
      AlipayHashMap txtParams = new AlipayHashMap();
      txtParams.put("cache_interval", (Object)this.cacheInterval);
      txtParams.put("query_conditions", this.queryConditions);
      txtParams.put("service_name", this.serviceName);
      txtParams.put("visit_biz", this.visitBiz);
      txtParams.put("visit_biz_line", this.visitBizLine);
      txtParams.put("visit_domain", this.visitDomain);
      if(this.udfParams != null) {
         txtParams.putAll(this.udfParams);
      }

      return txtParams;
   }

   public void putOtherTextParam(String key, String value) {
      if(this.udfParams == null) {
         this.udfParams = new AlipayHashMap();
      }

      this.udfParams.put(key, value);
   }

   public Class getResponseClass() {
      return AlipayZdatafrontCommonQueryResponse.class;
   }
}
